package cn.tedu.service;

import cn.tedu.pojo.Dept;

import java.util.List;

public interface DeptMapper {
    Dept getById(Integer id);
    List<Dept> getAll();
    List<Dept> getByName(String name);
    List<Dept> getByLoc(String loc);
    List<Dept> getByLoc_Like(String loc);

    void insertDept(Dept dept);
    void deleteFromDeptById(int[] id );
}
